package com.goods.business.service;

import com.goods.common.model.business.InStock;
import com.goods.common.vo.business.InStockDetailVO;
import com.goods.common.vo.business.InStockVO;

import java.util.Date;
import java.util.Map;

public interface InStockService {
    Map findInStockList(Integer pageNum, Integer pageSize, Integer status, Integer type, String inNum, String startTime, String endTime);

    InStockDetailVO detail(Long id);

    int remove(Long id);

    int back(Long id);

    int delete(Long id);

    void addIntoStock(Map map);

    int publish(Long id);
}
